<?php
/*
 * ------------------------------------------------------------------------
 * JA Social Template for J17
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
*/
?>

	<?php $this->genBlockBegin ($block) ?>
	
	<?php if($this->countModules('search')) : ?>
	<div id="ja-search">
		<jdoc:include type="modules" name="search" />
	</div>
	<?php endif; ?>
    
	
	
	<table class="headertable">
     <tr class="headertrtable">
	 <td class="headlogo">
	<?php 
	$app = & JFactory::getApplication();
	$siteName = $app->getCfg('sitename');
	?>
	<h1 class="logo">
		<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
	</h1>
	 
	</td>
	<td >
	<?php 
	$logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText')));
	 $sloganText=(trim($this->getParam('sloganText'))=='') ? $siteName : JText::_(trim($this->getParam('sloganText')));
	 ?>
	<div class="logo-text">
		<a href="index.php" title=""><h1 class="logo-text"><?php echo $logoText; ?></h1><h2 class="logo-text"><?php echo $sloganText; ?></h2></a>
		
	</div>
	 
	</td> 
    
	<td  class="headlogo"	>
	<h1 class="logo2">
		<a href="http://www.sfedu.ru" title=""> </a>
	</h1>
	</td>
	</tr>
	 </table>
	<?php $this->genBlockEnd ($block) ?>
	
<script src="http://migo.sfedu.ru/test/plugins/system/kc_cufon/js/cufon-yui.js" type="text/javascript" ></script>
<script src="http://migo.sfedu.ru/test/plugins/system/kc_cufon/fonts/DS_Greece_400.font.js" type="text/javascript" ></script>
<script type="text/javascript">
Cufon.replace("h1.logo-text",{fontFamily:'DS Greece',trim:'simple',separate:'none',color:'rgb(184,80,3)',fontSize:'20px',textShadow:'orange 1px 2px 4px',hover:'true'});
Cufon.replace("h2.logo-text",{fontFamily:'DS Greece',trim:'simple',separate:'none',color:'rgb(184,80,3)',fontSize:'25px',textShadow:'rgb(120,80,3) 1px 1px 2px',hover:'true',fontWeight:'bold'});
Cufon.replace("h2.logo-text a:hover",{fontFamily:'DS Greece',trim:'simple',separate:'none',color:'rgb(120,80,3)',fontSize:'25px',textShadow:'white 2px 1px 2px',hover:'true'});
</script>